package concurrent.chapter1;

//02讲、介绍四种Singleton方式的优缺点在多线程情况下
public class SingletonObject1 {
    //can't lazy load.
    private static final SingletonObject1 instance = new SingletonObject1();

    private SingletonObject1() {
        //empty
    }

    public static SingletonObject1 getInstance() {
        return instance;
    }

}
